package com.lannuokeji.biz.items.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 实验室申请
 * </p>
 *
 * @author lannuoTeck
 * @since 2018-03-19
 */
@TableName("g_items_lab_apply")
public class LabApply extends Model<LabApply> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户id
     */
    @TableField("userId")
    private String userId;
    /**
     * 课程名称
     */
    @TableField("courseName")
    private String courseName;
    /**
     * 作业名称
     */
    @TableField("workName")
    private String workName;
    /**
     * 参与人员
     */
    private String member;
    /**
     * 年
     */
    private Integer year;
    /**
     * 学期
     */
    private Integer term;
    /**
     * 开始时间
     */
    @TableField("startTime")
    private Date startTime;
    /**
     * 结束时间
     */
    @TableField("endTime")
    private Date endTime;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 未提交、待审核、通过，驳回
     */
    private String status;
    @TableField("creatTime")
    private Date creatTime;
    @TableField("updateTime")
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getWorkName() {
        return workName;
    }

    public void setWorkName(String workName) {
        this.workName = workName;
    }

    public String getMember() {
        return member;
    }

    public void setMember(String member) {
        this.member = member;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getTerm() {
        return term;
    }

    public void setTerm(Integer term) {
        this.term = term;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreatTime() {
        return creatTime;
    }

    public void setCreatTime(Date creatTime) {
        this.creatTime = creatTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "LabApply{" +
        ", id=" + id +
        ", userId=" + userId +
        ", courseName=" + courseName +
        ", workName=" + workName +
        ", member=" + member +
        ", year=" + year +
        ", term=" + term +
        ", startTime=" + startTime +
        ", endTime=" + endTime +
        ", phone=" + phone +
        ", status=" + status +
        ", creatTime=" + creatTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
